/*****************************************************************************
 * This file is part of Pause Quafe.                                         *
 *                                                                           *
 * Pause Quafe - An Eve-Online(TM) character assistance application          *
 * Copyright (c) 2009  diabeteman & Kios Askoner                             *
 *                                                                           *
 * Pause Quafe is free software: you can redistribute it and/or modify       *
 * it under the terms of the GNU General Public License as published by      *
 * the Free Software Foundation, either version 3 of the License, or         *
 * (at your option) any later version.                                       *
 *                                                                           *
 * Pause Quafe is distributed in the hope that it will be useful,            *
 * but WITHOUT ANY WARRANTY; without even the implied warranty of            *
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             *
 * GNU General Public License for more details.                              *
 *                                                                           *
 * You should have received a copy of the GNU General Public License         *
 * along with Pause Quafe.  If not, see http://www.gnu.org/licenses/.        *
 *****************************************************************************/

#include "APIData.h"

////////////////////
/// constructors ///
////////////////////
APIData::APIData(uint userID, QString apiKey) :
    userID(userID),	apiKey(apiKey)
{}

APIData::APIData(uint characterID, uint userID, QString apiKey) :
	characterID(characterID), userID(userID), apiKey(apiKey)
{}

APIData::APIData(uint characterID, QString characterName, uint userID, QString apiKey) :
	characterID(characterID), characterName(characterName), userID(userID), apiKey(apiKey)
{}

///////////////
/// methods ///
///////////////
QString APIData::toString() {
    return QString("TODO: APIData::toString()");
}




///////////////
/// getters ///
///////////////
QString APIData::getApiKey() const
{
    return apiKey;
}

uint APIData::getCharacterID() const
{
    return characterID;
}

QString APIData::getCharacterName() const
{
    return characterName;
}

uint APIData::getUserID() const
{
    return userID;
}
///////////////
/// setters ///
///////////////
void APIData::setApiKey(QString apiKey)
{
    this->apiKey = apiKey;
}

void APIData::setCharacterID(uint characterID)
{
    this->characterID = characterID;
}

void APIData::setCharacterName(QString characterName)
{
    this->characterName = characterName;
}

void APIData::setUserID(uint userID)
{
    this->userID = userID;
}
